Initialise the request ID in xs_talkv, to silence valgrind. We're not actually
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 17 Nov 2005 19:25:47 +0000 (20:25 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 17 Nov 2005 19:25:47 +0000 (20:25 +0100)
using this value at the moment -- it's only there for use by future clients.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/xenstore/xs.c

index a817a88077bc5c587c0c42ac9894906cb0656dd0..5cd4201e2073d3a748a538dd635f72dac5da4683 100644 (file)
@@ -305,6 +305,7 @@ static void *xs_talkv(struct xs_handle *h, struct xs_transaction_handle *t,
        struct sigaction ignorepipe, oldact;
 
        msg.tx_id = (uint32_t)(unsigned long)t;
+       msg.req_id = 0;
        msg.type = type;
        msg.len = 0;
        for (i = 0; i < num_vecs; i++)